<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
	<!--登陆注册/购物车部分 -->
	<div class="top fl">
		<div class="logins">
			    <?php if(!$_SESSION['uid']){ ?>
			<div class="logins-left fl">
				<a href="<?php echo U('Index/Login/index');?>">登录</a>
				<a href="<?php echo U('Index/Login/register');?>">注册</a>
			</div>
			<?php }else{ ?>
			<div class="user fl">
				<a href=""><img src="<?php echo $_SESSION['face'];?>"/></a>
				<span><?php echo $_SESSION['username'];?></span>
				<a href="<?php echo U('Index/Login/out');?>" class="out">退出</a>
			</div>
			<?php } ?>
			<div class="buycar fr">
				<div class="buycar-left fl">
					<img src="http://127.0.0.1/hdwy/wasai/Application/Index/View/Public/images/ico/buycar.png" alt="" />
				</div>
				<a href="#">购物车<span class="num">0</span>件</a>
			</div>
		</div>
	</div>
	<!--end-->
	
	<!--首页分类/logo/搜索栏部分-->
	<div class="header fl">
		<div class="classification">
			<div class="house fl">
				<a href="<?php echo U('Index/index');?>"></a>
			</div>
			<!--左侧分类-->
			<ul class="classA fl">
				<li><a href="<?php echo U('Category/index');?>">市集</a></li>
				<li><a href="">新品</a></li>
				<li><a href="">热卖</a></li>
				<li><a href="">闪购</a></li>
				<li><a href="">定制</a></li>
			</ul>
			<!--logo-->
			<div class="logo">
				<a href="<?php echo U('Index/index');?>"><img src="http://127.0.0.1/hdwy/wasai/Application/Index/View/Public/images/ico/logo.png"/></a>
			</div>
			<form action="" method="post" class="search fr">
				<input type="text" placeholder="请输入要搜索的关键词" class="text"/>
				<input type="submit" value="" class="submit"/>
			</form>
			<!--右侧分类-->
			<ul class="classB">
				<li><a href="">动态</a></li>
				<li><a href="">画报</a></li>
				<li><a href="">画报</a></li>
			</ul>
		</div>
	</div>
	<!--end-->



